var arr1 = [1,2,3,4];

var arr2 = new Array(2,2,3,3);

console.log(arr1);

arr1.length = 9;

console.log(arr1);